<table cellpadding="5">
	<input name="id" type="hidden" value="${(personItem.id)!}" />
	<tr>
		<td class="tbLabel">登录名:</td>
		<td>
			<input name="loginName" <#if (personItem.id)??>readonly="readonly"</#if>  class="easyui-validatebox textbox" data-options="required:true" validType="remote['user.do?checkUserName&userId=${(personItem.id)!}','loginName']" invalidMessage="用户编码已存在" value="${(personItem.loginName)!}"/>
		</td>
		<td class="tbLabel">姓名:</td>
		<td>
			<input name="name"  class="easyui-validatebox textbox" data-options="required: true" value="${(personItem.name)!}"/>
		</td>
		<td class="tbLabel">性别</td>
		<td><@eu.comboBox url="common.do?loadComboBox&key=SEX&value=${(personItem.sex)!}" name="sex"/></td>
	</tr>
	<tr>
		<td>任职状态:</td>
		<td>
			<@eu.comboBox name="positionStatus" required="true"  url="common.do?loadComboBox&key=POSITION_STATUS&value=${(personItem.positionStatus)!}"  />
		</td>
		
		<td>员工类型:</td>
		<td>
			<@eu.comboBox name="personType" required="true" multiple="true" url="common.do?loadComboBox&key=PERSON_TYPE&value=${(personItem.personType)!}"  />
<!-- 			<input name="personType"  class="easyui-validatebox" data-options="required: true" value="${(personItem.personType)!}"/> -->
		</td>
		<td>所属网点:</td>
		<td>
			<@eu.comboBox url="transWebSite.do?loadWebsiteCombox&value=${(personItem.websiteId)!}" required="true" disabled="${isDisabled!'true'}" name="websiteId"/>
		</td>
		
	</tr>
	<tr>
		<td>职位:</td>
		<td>
			<input name="position"  class="easyui-validatebox textbox"  value="${(personItem.position)!}"/>
		</td>
		<td>身份证号:</td>
		<td>
			<input name="idCard"  class="easyui-validatebox textbox"  value="${(personItem.idCard)!}"/>
		</td>
		<td>身份证地址:</td>
		<td>
			<input name="cardAddress"  class="easyui-validatebox textbox"  value="${(personItem.cardAddress)!}"/>
		</td>
	</tr>
	<tr>
		<td>家庭住址:</td>
		<td>
			<input name="homeAddress"  class="easyui-validatebox textbox"  value="${(personItem.homeAddress)!}"/>
		</td>
		<td>出生日期:</td>
		<td>
			<input name="birthday" style="width:160px;" class="easyui-datebox"  value="${(personItem.birthday)!}"/>
		</td>
		<td>婚姻状况:</td>
		<td>
			<@eu.comboBox name="maritalStatus" url="common.do?loadComboBox&key=MARITAL_STATUS&value=${(personItem.maritalStatus)!}"  />
		</td>
	</tr>
	<tr>
		<td>文化程度:</td>
		<td>
			<@eu.comboBox name="educationLevel" url="common.do?loadComboBox&key=EDUCATION_LEVEL&value=${(personItem.educationLevel)!}"  />
		</td>
		<td>入职时间:</td>
		<td>
			<input name="hireDate" style="width:160px;" class="easyui-datebox"  value="${(personItem.hireDate)!}"/>
		</td>
		<td>离职时间:</td>
		<td>
			<input name="departureDate" style="width:160px;" class="easyui-datebox"  value="${(personItem.departureDate)!}"/>
		</td>
	</tr>
	<tr>
		<td colspan="8">
		 <div class="easyui-panel" data-options="border: false" title="地址和联系方式">
		 </div>
		</td>
	</tr>
	<tr>
		<td>联系人:</td>
		<td>
			<input name="contract"  class="easyui-validatebox textbox" data-options="required: true" value="${(personItem.contract)!}"/>
		</td>
		<td>手机:</td>
		<td>
			<input name="mobilePhone"  class="easyui-validatebox textbox" data-options="required: true" value="${(personItem.mobilePhone)!}"/>
		</td>
		<td>电话:</td>
		<td>
			<input name="telephone"  class="easyui-validatebox textbox" data-options="required: true" value="${(personItem.telephone)!}"/>
		</td>
	</tr>
	<#assign addressHtmlId = "personAddressHtmlId">
	<#include "/base/address.html">
	<#macro callbackFun>
		$('#personStateProvince').val(addressText);
	</#macro>
	<tr>
		<td>所在地区:</td>
		<td colspan="7">
			<input id="personStateProvince" name="stateProvince" style="width: 498px;" class="easyui-validatebox textbox"  value="${(personItem.stateProvince)!}"/>
		</td>
	</tr>
	<tr>
		<td>地址:</td>
		<td colspan="7">
			<input id="personContractAddress" style="width: 498px;" name="contractAddress"  class="easyui-validatebox textbox" data-options="prompt: '建议您如实填写详细收货地址，例如街道名称，门牌号码，楼层和房间号等信息'"  value="${(personItem.contractAddress)!}"/>
		</td>
	</tr>
	<tr>
<!-- 		<td>国家/省市:</td> -->
<!-- 		<td> -->
<!-- 			<input name="stateProvince"  class="easyui-validatebox" value="${(personItem.stateProvince)!}"/> -->
<!-- 		</td> -->
<!-- 		<td>联系地址:</td> -->
<!-- 		<td> -->
<!-- 			<input name="contractAddress"  class="easyui-validatebox"  value="${(personItem.contractAddress)!}"/> -->
<!-- 		</td> -->
		<td>邮编:</td>
		<td>
			<input name="postCode"  class="easyui-validatebox textbox" value="${(personItem.postCode)!}"/>
		</td>
	</tr>
	<tr>
		<td>邮箱:</td>
		<td>
			<input name="email"  class="easyui-validatebox textbox" value="${(personItem.email)!}"/>
		</td>
		<td>传真:</td>
		<td>
			<input name="fax"  class="easyui-validatebox textbox" value="${(personItem.fax)!}"/>
		</td>
		<td>QQ:</td>
		<td>
			<input name="qq"  class="easyui-validatebox textbox" value="${(personItem.qq)!}"/>
		</td>
	</tr>
</table>
